/*
package com.yjz.middleware.drools;

import com.yjz.springlearn.ioclearn.Card;
import org.junit.Test;
import org.kie.api.KieServices;
import org.kie.api.runtime.KieContainer;
import org.kie.api.runtime.KieSession;

*/
/**
 * drools 测试
 *//*

public class HelloWorldTest {
  @Test
  public void testHelloWorld() {
    KieServices kieServices = KieServices.Factory.get();
    KieContainer kieContainer = kieServices.newKieClasspathContainer();
    KieSession kieSession = kieContainer.newKieSession("helloWorldSession");
    Card card = new Card();
    card.setCardName("招商银行信用卡");
    card.setCardNo("12222213213123");
    kieSession.insert(card);
    kieSession.fireAllRules();
    kieSession.dispose();
    System.out.println("更新后的" + card.getCardName());
    */
/**
 * drools的配置文件的路径是写死的
 *//*

 */
/*String[] configFiles = new String[]{"META-INF/kmodule.xml", "META-INF/kmodule-spring.xml"};*//*

  }
}
*/
